package com.eml.service.entity;

public class Inventory {
    private Integer inventoryID;//商品库存编号
    private String inventoryName;//商品库存名称
    private Integer inventoryCount;//商品库存数量

    public Inventory() {
    }

    public Inventory(String inventoryName, Integer inventoryCount) {
        this.inventoryName = inventoryName;
        this.inventoryCount = inventoryCount;
    }

    public Inventory(Integer inventoryID, String inventoryName, Integer inventoryCount) {
        this.inventoryID = inventoryID;
        this.inventoryName = inventoryName;
        this.inventoryCount = inventoryCount;
    }

    public Integer getInventoryID() {
        return inventoryID;
    }

    public void setInventoryID(Integer inventoryID) {
        this.inventoryID = inventoryID;
    }

    public String getInventoryName() {
        return inventoryName;
    }

    public void setInventoryName(String inventoryName) {
        this.inventoryName = inventoryName;
    }

    public Integer getInventoryCount() {
        return inventoryCount;
    }

    public void setInventoryCount(Integer inventoryCount) {
        this.inventoryCount = inventoryCount;
    }

    @Override
    public String toString() {
        return "Inventory{" +
                "inventoryID=" + inventoryID +
                ", inventoryName='" + inventoryName + '\'' +
                ", inventoryCount=" + inventoryCount +
                '}';
    }
}
